/*********************************************************************************
 *
 *
 *
 **********************************************************************************/
package base.feature;

import base.Network;

/**
 *@name InterfaceBetweenness.java
 *@description 
 *@author 王进法<Mervin.Wong>
 *@version 
 *@Date 2013-1-12下午5:28:50
 */
/*********************************************************************************
 *
 * 10, int nodeBetweenness(node)//节点的介数
 * 11, int edgeBetweenness(preNode, postNode) //边的介数
 *
 **********************************************************************************/

public interface InterfaceBetweenness {

	/**
	 * @name nodeBetweenness
	 * @description 节点的介数
	 * @param nodeId
	 * @return int betweenness
	 */
	public int nodeBetweenness( int nodeId);
	
	/**
	 * @name nodeBetweenness
	 * @description 节点的介数
	 * @param Network net
	 * @param nodeId
	 * @return int betweenness
	 */
	public int nodeBetweenness(Network net, int nodeId);
	
	/**
	 * @name nodesBetweenness
	 * @description 节点的介数
	 * @param int []nodesId
	 * @return int[][] betweenness
	 */
	public int[][] nodesBetweenness( int[] nodesId);
	
	/**
	 * @name nodesBetweenness
	 * @description 节点的介数
	 * @param Network net
	 * @param int []nodesId
	 * @return int[][] betweenness
	 */
	public int[][] nodesBetweenness(Network net, int[] nodesId);
	
	/**
	 * @name edgeBetweenness
	 * @description 网络中一条边的介数
	 * @param preNodeId
	 * @param postNodeId
	 * @return int betweenness
	 */
	public int edgeBetweenness(int preNodeId, int postNodeId);
	
	/**
	 * @name edgeBetweenness
	 * @description 网络中一条边的介数
	 * @param net
	 * @param preNodeId
	 * @param postNodeId
	 * @return int betweenness
	 */
	public int edgeBetweenness(Network net, int preNodeId, int postNodeId);
}
